			<div class="col-md-9">
              <!-- random product -->
              <div class="span12">
                <div class="outer-border nav-page-sidebar-p10">
                  <div class="nav-judul bg-texture">
                    <span class="judul-sidebar">
                      Detail Transaksi
                    </span>
                  <div class="clearfix"></div>
                  </div>
                  <?php
                    $id=$_GET['id'];
                    $sttmt = $koneksi->query("select * from orders o inner join status s on o.id_status = s.id_status inner join kabupaten k on o.id_kabupaten = k.id_kabupaten where o.id_orders = '$id'");
                    $hasil = $sttmt->fetch(PDO::FETCH_ASSOC);
                  ?>
                  <br>
                  <table style="font-size: 12px; line-height: 1.5em; margin-left: 10px;">
                      <tr>
                          <td width="100">ID Order</td>
                          <td width="5">:</td>
                          <td width="350"><?php echo $hasil['id_orders']; ?></td>
                          <td width="100">Email</td>
                          <td width="5">:</td>
                          <td width="250"><?php echo $hasil['email']; ?></td>
                      </tr>
                      <tr>
                          <td>ID Member</td>
                          <td>:</td>
                          <td><?php echo $hasil['id_member']; ?></td>
                          <td>No. Telp</td>
                          <td>:</td>
                          <td><?php echo $hasil['no_telp']; ?></td>
                      </tr>
                      <tr>
                          <td>Alamat</td>
                          <td>:</td>
                          <td><?php echo $hasil['alamat']; ?></td>
                          <td>Resi</td>
                          <td>:</td>
                          <td><?php echo $hasil['resi']; ?></td>
                      </tr>
                      <tr>
                          <td>Kota</td>
                          <td>:</td>
                          <td><?php echo $hasil['kabupaten']; ?></td>
                          <td>Keterangan</td>
                          <td>:</td>
                          <td><?php echo $hasil['keterangan']; ?></td>
                      </tr>
                      <tr>
                          <td>Kode Pos</td>
                          <td>:</td>
                          <td><?php echo $hasil['kode_pos']; ?></td>
                          <td>Status</td>
                          <td>:</td>
                          <td><?php echo $hasil['status']; ?></td>
                      </tr>
                  </table>
                  <br>
                  <div class="nav-page-sidebar-p10">
                    <div class="table-responsive" id="checkout">
                        <table class="table table-hover small">
                          <tr>
                            <th>No</th>
                            <th>Nama Barang</th>
                            <th>Ukuran</th>
                            <th>Harga</th>
							<th>Diskon (%)</th>
                            <th>Kuantitas</th>
                            <th>Subtotal</th>
                          </tr>
                        <?php
                          $detail = $koneksi->query("select * from order_detail o inner join ukuran u on o.id_ukuran = u.id_ukuran inner join produk p on p.id_produk = o.id_produk where o.id_orders = '$id'");
                          while($dt = $detail->fetch(PDO::FETCH_ASSOC)){
                            $no++;
                          echo "<tr>
                              <td>$no</td>
                              <td>$dt[nama_produk]</td>
                              <td>$dt[ukuran]</td>
                              <td>".harga("$dt[harga]")."</td>
							  <td>$dt[diskon]</td>
                              <td>$dt[jumlah]</td>";
                              $subtotal = $dt['harga'] * $dt['jumlah'] - ($dt['harga'] * $dt['jumlah'] * $dt['diskon'] / 100);
                            echo "<td>".harga("$subtotal")."</td>
                            </tr>";
                            $total = $total + $subtotal;
                          }
                        ?>
                        <!-- baris isi produk dibeli -->
						<tr>
                          <tr>
                            <th colspan="5"></th>
                            <th>Jumlah</th>
                            <th><?php echo "Rp. ".harga($total); ?></th>
                          </tr>
                        </tr>
						<tr>
                          <tr>
                            <th colspan="5"></th>
                            <th>Ongkos Kirim</th>
                            <th><?php echo "Rp. ".harga($hasil['ongkir']); ?></th>
                          </tr>
                        </tr>
                        <tr>
                          <tr>
                            <th colspan="5"></th>
                            <th>Total</th>
                            <th><?php echo "Rp. ".harga($total + $hasil['ongkir']); ?></th>
                          </tr>
                        </tr>
                      </table>

                    </div>
                  <div class="clearfix"></div>
                  </div>
                <div class="clearfix"></div>
                </div>
              <div class="clearfix"></div>
              </div>
              <!-- end random product -->

            </div>